package com.koron.css2.baseConfig.vo;

import java.util.Objects;

public class ConfigVacationVO {

    private String id;

    private String vacationName;

    private String vacationBeginDate;

    private String vacationEndDate;

    private String vacationComments;

    private String groupCode;

    private String tenantId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getVacationName() {
        return vacationName;
    }

    public void setVacationName(String vacationName) {
        this.vacationName = vacationName;
    }

    public String getVacationBeginDate() {
        return vacationBeginDate;
    }

    public void setVacationBeginDate(String vacationBeginDate) {
        this.vacationBeginDate = vacationBeginDate;
    }

    public String getVacationEndDate() {
        return vacationEndDate;
    }

    public void setVacationEndDate(String vacationEndDate) {
        this.vacationEndDate = vacationEndDate;
    }

    public String getVacationComments() {
        return vacationComments;
    }

    public void setVacationComments(String vacationComments) {
        this.vacationComments = vacationComments;
    }

    public String getGroupCode() {
        return groupCode;
    }

    public void setGroupCode(String groupCode) {
        this.groupCode = groupCode;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ConfigVacationVO that = (ConfigVacationVO) o;
        return getId().equals(that.getId()) && getVacationName().equals(that.getVacationName()) && getVacationBeginDate().equals(that.getVacationBeginDate()) && getVacationEndDate().equals(that.getVacationEndDate()) && getVacationComments().equals(that.getVacationComments());
    }

    @Override
    public int hashCode() {
        return Objects.hash(getId(), getVacationName(), getVacationBeginDate(), getVacationEndDate(), getVacationComments());
    }
}
